package cn.com.byte1024.service.impl;

import cn.com.byte1024.entity.VoteLog;
import cn.com.byte1024.mapper.VoteLogMapper;
import cn.com.byte1024.service.VoteLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ProjectName: VoteSystem
 * @ClassName: VoteLogServiceImpl
 * @Description:
 * @Author: Kwnda
 * @Date: 2021/1/7 1:03
 */
@Service
public class VoteLogServiceImpl implements VoteLogService {
    @Autowired
    private VoteLogMapper voteLogMapper;

    @Override
    public List<VoteLog> selectByUserId(String userId) {
        return voteLogMapper.selectByUserId(userId);
    }
}
